package cn.bugDance.infrastructure.persistent.dao;

import cn.bugDance.infrastructure.persistent.po.ActivityPartakeOrder;
import cn.bugstack.middleware.db.router.annotation.DBRouterStrategy;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
@DBRouterStrategy(splitTable = true)
public interface IActivityPartakeOrderDao {
    ActivityPartakeOrder getActivityPartakeOrder(@Param("userId") String userId, @Param("activityId") Long activityId);

    void insert(ActivityPartakeOrder activityPartakeOrder);

    int updateState(String orderId);
}
